ImageQuery
supports the export of result lists to a file. You can start the export by
using [F12] or using the menu or toolbar actions. After you do this, the export
settings dialog shown below will appear.
The export
settings dialog box.
The export
filename defines the target file for the export. Click the folder button right
to edit box for a folder browser.
You can set
the name of the root element for then export, if you do not want to name it
“files”.
The default
selection is to export tag names as text and as hex codes for unknown tags
(e.g. 0x104f).
<metainfo
tagname="size">303100</metainfo>
If you
select the “Tags as numbers option”, the meta tags will be esported like so:
<metainfo
tagname="0x1234">303100</metainfo>
The listing
below shows the sample export for a file. Numerical or timestamp data will be
written out as normal element content, while other data type (strings, arrays,
etc.) will be written out as CDATA sections enclosed in a cdata tag to make
XSLT processing easier (see the URL
http://www.azureus.com/xml/art_creating_cdata_sections_in_xslt.htm for details
on this). Please note that for brevetiy I only included three meta tags per
group in the export file.
<?xml
version="1.0" encoding="UTF-8" ?>
<files>
<file name="vonWirth-Bild01.jpg">
<filedata>
<metainfo
tagname="fullname"><cdata><![CDATA[H:\TestJpgs\Bild01.jpg]]></cdata></metainfo>
<metainfo
tagname="size">303100</metainfo>
<metainfo
tagname="path"><cdata><![CDATA[H:\TestJpgs]]></cdata></metainfo>
</filedata>
<app0data>
<metainfo
tagname="version"><cdata><![CDATA[1.01]]></cdata></metainfo>
<metainfo
tagname="units"><cdata><![CDATA[dpi]]></cdata></metainfo>
<metainfo
tagname="ythumbnailsize">0</metainfo>
</app0data>
<exifdata>
<metainfo
tagname="imagedescription"><cdata><![CDATA[]]></cdata></metainfo>
<metainfo
tagname="make"><cdata><![CDATA[SONY]]></cdata></metainfo>
<metainfo tagname="0xa406">0</metainfo>
</exifdata>
<thumbdata>
<metainfo tagname="previewcompression">6</metainfo>
<metainfo tagname="0x010f"><cdata><![CDATA[SONY]]></cdata></metainfo>
<metainfo
tagname="previewjpegbytecount">3474</metainfo>
</thumbdata>
<iptcdata>
<metainfo
tagname="recordversion"><cdata><![CDATA[2]]></cdata></metainfo>
<metainfo tagname="objectname"><cdata><![CDATA[Meran]]></cdata></metainfo>
<metainfo
tagname="keywords"><cdata><![CDATA[Südtirol]]></cdata></metainfo>
</iptcdata>
<gpsdata>
</gpsdata>
</file>
</files>
After you
click the OK button, the export will start. Click on Cancel to abort the
export.